package com.wanshi.client.impl;

import com.wanshi.client.ProductsClient;
import com.wanshi.entity.Products;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class ProductsClientimpl implements ProductsClient {
    @Override
    public List<Products> findproductsAndNumByorderId(String orderid) {
        //服务调用失败以后执行的方法

        System.out.println("---------调用商品服务出错了");

        return null;
    }
}
